package com.cc.dao;

import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

import javax.sql.DataSource;

@Repository
public class HelloDao {

    @Value("${name}")
    private String name;
    @Value("${data}")
    private String data;

    public void showHelloDao(){
        System.out.println(name +"------" + data);
    }
}
